<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #box{
      /* display: none; */
      /* opacity: 0; */
      /* width: 0;
      height: 0; */
      /* visibility: hidden; */
      background: #000;
      width: 100px;
      height: 100px;
      clip-path: polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);
    }
  </style>
</head>
<body>
  <div id="box"></div>

  <script>
    document.getElementById("box").addEventListener('click', () => {
      console.log('box clicked');
    })
  </script>
</body>
</html>